<!DOCTYPE html>
<html lang="zh-cmn-Hans"
      xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<a th:href="@{/list}" >返回</a>
<table border="1">
    <thead>
    <tr>
        <td>id</td>
        <td>姓名</td>
        <td>打卡返回结果</td>
        <td>打卡时间</td>
    </tr>
    </thead>
    <tbody>
    <tr th:if="${reslist.size()} eq 0">
        <td colspan="5">没有记录</td>
    </tr>
    <tr th:each="res : ${reslist}">
        <td th:text="${res.id}"></td>
        <td th:text="${res.name}"></td>
        <td th:text="${res.res}"></td>
        <td th:text="${res.createTime}"></td>
    </tr>
    </tbody>
</table>
</body>
</html>